function CombatLogGetNumEntries()
	return 0
end

function CombatLogSetCurrentEntry()
end

function CombatLogGetCurrentEntry()
end

function CombatLogResetFilter()
end

function CombatLogAddFilter()
end

local bit_band = bit.band
local COMBATLOG_OBJECT_AFFILIATION_MASK = 0x0000000F
local COMBATLOG_OBJECT_REACTION_MASK = 0x000000F0
local COMBATLOG_OBJECT_CONTROL_MASK = 0x00000300
local COMBATLOG_OBJECT_TYPE_MASK = 0x0000FC00
local COMBATLOG_OBJECT_SPECIAL_MASK = 0xFFFF0000

function CombatLog_Object_IsA(flag, mask)
	local submask = bit_band(mask, COMBATLOG_OBJECT_AFFILIATION_MASK)
	if submask ~= 0 and bit_band(flag, submask) == 0 then return false end
	submask = bit_band(mask, COMBATLOG_OBJECT_REACTION_MASK)
	if submask ~= 0 and bit_band(flag, submask) == 0 then return false end
	submask = bit_band(mask, COMBATLOG_OBJECT_CONTROL_MASK)
	if submask ~= 0 and bit_band(flag, submask) == 0 then return false end
	submask = bit_band(mask, COMBATLOG_OBJECT_TYPE_MASK)
	if submask ~= 0 and bit_band(flag, submask) == 0 then return false end
	submask = bit_band(mask, COMBATLOG_OBJECT_SPECIAL_MASK)
	if submask ~= 0 and bit_band(flag, submask) == 0 then return false end
	return true
end
